package com.zzyl.common.ai;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Data
//用于将外部配置文件（如 application.properties 或 application.yml）中的属性绑定到一个 Java 对象中 prefix是指定配置属性的前缀
@ConfigurationProperties(prefix = "baidu")
@Component
public class BaiduAIProperties {
    private String accessKey;
    private String secretKey;
    private String qianfanModel;
}
